package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * wifi微信用户信息对象 wf_user
 * 
 * @author ruoyi
 * @date 2024-08-14
 */
public class WfUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private Long userId;

    /** 会话密钥 */
    @Excel(name = "会话密钥")
    private String sessionKey;

    /** 用户唯一标识 */
    @Excel(name = "用户唯一标识")
    private String openId;

    /** 用户在开放平台的唯一标识符 */
    private String unionId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickname;

    /** 用户头像 */
    private String avatarUrl;

    /** 用户性别（0：未知，1：男性，2：女性） */
    @Excel(name = "用户性别", readConverterExp = "0=：未知，1：男性，2：女性")
    private Integer gender;

    /** 用户所在国家 */
    private String country;

    /** 用户所在省份 */
    private String province;

    /** 用户所在城市 */
    private String city;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String phoneNumber;

    /** 备用字段1 */
    private String extendS1;

    /** 备用字段2 */
    private String extendS2;

    /** 备用字段3 */
    private String extendS3;

    /** 备用字段4 */
    private String extendS4;

    /** 备用字段5 */
    private String extendS5;

    /** 备用字段6 */
    private String extendS6;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSessionKey(String sessionKey) 
    {
        this.sessionKey = sessionKey;
    }

    public String getSessionKey() 
    {
        return sessionKey;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUnionId(String unionId) 
    {
        this.unionId = unionId;
    }

    public String getUnionId() 
    {
        return unionId;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setExtendS1(String extendS1) 
    {
        this.extendS1 = extendS1;
    }

    public String getExtendS1() 
    {
        return extendS1;
    }
    public void setExtendS2(String extendS2) 
    {
        this.extendS2 = extendS2;
    }

    public String getExtendS2() 
    {
        return extendS2;
    }
    public void setExtendS3(String extendS3) 
    {
        this.extendS3 = extendS3;
    }

    public String getExtendS3() 
    {
        return extendS3;
    }
    public void setExtendS4(String extendS4) 
    {
        this.extendS4 = extendS4;
    }

    public String getExtendS4() 
    {
        return extendS4;
    }
    public void setExtendS5(String extendS5) 
    {
        this.extendS5 = extendS5;
    }

    public String getExtendS5() 
    {
        return extendS5;
    }
    public void setExtendS6(String extendS6) 
    {
        this.extendS6 = extendS6;
    }

    public String getExtendS6() 
    {
        return extendS6;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("sessionKey", getSessionKey())
            .append("openId", getOpenId())
            .append("unionId", getUnionId())
            .append("nickname", getNickname())
            .append("avatarUrl", getAvatarUrl())
            .append("gender", getGender())
            .append("country", getCountry())
            .append("province", getProvince())
            .append("city", getCity())
            .append("phoneNumber", getPhoneNumber())
            .append("extendS1", getExtendS1())
            .append("extendS2", getExtendS2())
            .append("extendS3", getExtendS3())
            .append("extendS4", getExtendS4())
            .append("extendS5", getExtendS5())
            .append("extendS6", getExtendS6())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
